home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Movement of Text.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
1KB
|
66 lines
[SUBJECT]
Description=Movement of text Script
ImageIndex=-1
Folder=Text Effects
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Start script
; var ms = navigator.appVersion.indexOf("MSIE");
; from = `start_position`;
; to = `end_position`;
; moveto = `offset`;
;function move1() {
; if (from > to) {
; if ((ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)) {
; document.all.texte.style.left = (from -= moveto);
; } else {
; document.texte.left = (from -= moveto);
; };
; setTimeout('move1(' + from + ',' + to + ',' + moveto + ')', 75);
; }
;}
;// End script -->
;</script>
[BODY_TAG]
;onLoad="move1()"
[BODY_TEXT]
;<div id="texte" style="text-align:center;font-size:`font_size`pt;font-family:`font_family`;color:`color`;position:relative">`text`</div>
[`start_position`]
Kind=N
Value=600
[`end_position`]
Kind=N
Value=0
[`offset`]
Kind=N
Value=20
[`font_size`]
Kind=N
Value=10
[`font_family`]
Kind=S
Value=Times New Roman
[`color`]
Kind=C
Value=#000000
[`text`]
Kind=S
Value=This text is the preview of your result.